package top.linyuxb.lycloud.common.po;

import lombok.*;

import java.sql.Timestamp;

/**
 * Created by Intellij IDEA.
 *
 * @Author: linyuxb
 * @Date: 2024/6/17 11:39
 * @Desc: 服务注册实体
 */
@Getter
@Setter
@Builder
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class LyConfigServerPo {
    private Long id;
    private String env;
    private String app;
    private String serverIp;
    private String serverPort;
    private String user;
    private String userPassword;
    /**
     * 注册过期时间
     */
    private Timestamp active;
    /**
     * 服务权重
     */
    private Integer weight;
    private Integer status;
    private Long creatorId;
    private Long lastModifierId;
    private Timestamp ctime;
    private Timestamp utime;
}
